<?php
/*
 * @model Post
 */
?>
<div class="box">
	<div class="box-title">
		<h4><i class="icon-briefcase"></i>General Information</h4>
	</div>
	<div class="box-content">
		<div class="control-group">
			<?php echo $form->labelEx($model,'title', array('class'=>'control-label')); ?>
			<div class="controls">
				<?php echo $form->textField($model,'title',array('class'=>'span8','maxlength'=>200)); ?>
				<?php echo $form->error($model,'title'); ?>
			</div>
		</div>

		<div class="control-group">
			<?php echo $form->labelEx($model,'content', array('class'=>'control-label')); ?>
			<div class="controls">
				<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50, 'class'=>'ckeditor')); ?>
				<?php echo $form->error($model,'content'); ?>
			</div>
		</div>

		<div class="control-group">
			<?php echo $form->labelEx($model,'category_id', array('class'=>'control-label')); ?>
			<div class="controls">
				<?php echo $form->dropDownList($model,'category_id', $model->getCategoryListData(), array('encode'=>false,'empty'=>'')); ?>
				<?php echo $form->error($model,'category_id'); ?>
			</div>
		</div>

	</div>
</div>
